package com.snopy.designPattern.structure.adapter.demo2;

/**
 * @author snopy
 * @version 1.0.0
 * @classname DocEdit
 * @description
 * @email 77912204@qq.com
 * @date 2022/11/26 15:25
 */
public class DocEdit implements AdvancedEdit{
    private String text;

    public DocEdit(String text) {
        this.text = text;
    }

    public void printDoc(){
        System.out.println("this is text" + text);
    }

}
